package com.gm.wholesale.bluetooth;

import java.util.ArrayList;
import java.util.List;

public enum WeightBlueType {

    KH(1, "Kunhong","坤宏蓝牙秤"),
    WXL(2, "WXL","无限量蓝牙秤");
    private String desc;
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    private int type;
    WeightBlueType(int type,String name, String desc) {
        this.type = type;
        this.desc = desc;
        this.name=name;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }


    public static List<String> getWeightFilter(){
        List<String> filter=new ArrayList<>();
        filter.add(KH.name);
        filter.add(WXL.name);
        return filter;
    }

    public static String getKHName(){
        return KH.name;
    }



}
